import Vue from 'vue'
import VueRouter from 'vue-router'

import Login from '@/views/Login.vue'
import Home from '@/views/Home.vue'
import Machinemanagement from '@/views/Machinemanagement.vue'
import Operationalmanagement from '@/views/Operationalmanagement.vue'

Vue.use(VueRouter)

var router = new VueRouter({
    routes: [
        {
            name: 'login',
            path: '/login',
            component: Login
        },
        {
            name: 'home',
            path: '/',
            component: Home,
        },
        {
            name: 'operationalManagement',
            path: '/operationalManagement',
            component: Operationalmanagement
        },
        {
            name: 'machineManagement',
            path: '/machineManagement',
            component: Machinemanagement
        }
    ]
})

export default router